[INFO] cloning repository https://github.com/LeelooE/Tetris
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeelooE/Tetris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeelooE%2FTetris", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeelooE%2FTetris'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] baeabb3adcb33d27849da13403e978c7d11a2443
[INFO] checking LeelooE/Tetris against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeelooE%2FTetris" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/LeelooE/Tetris on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/LeelooE/Tetris
[INFO] finished tweaking git repo https://github.com/LeelooE/Tetris
[INFO] tweaked toml for git repo https://github.com/LeelooE/Tetris written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/LeelooE/Tetris already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1380dbefad5e0860241dc5d4f7f749152f9418aae2fb9571611861cb46a226c6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1380dbefad5e0860241dc5d4f7f749152f9418aae2fb9571611861cb46a226c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1380dbefad5e0860241dc5d4f7f749152f9418aae2fb9571611861cb46a226c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1380dbefad5e0860241dc5d4f7f749152f9418aae2fb9571611861cb46a226c6", kill_on_drop: false }`
[INFO] [stdout] 1380dbefad5e0860241dc5d4f7f749152f9418aae2fb9571611861cb46a226c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f4c9ab95af9ac3f1d3cb53e8f081e28329d4db5417f7f52e74cd1a58e1f62f5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9f4c9ab95af9ac3f1d3cb53e8f081e28329d4db5417f7f52e74cd1a58e1f62f5", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking getrandom v0.1.7
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_core v0.5.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.0
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking tetris v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: invalid suffix `as` for integer literal
[INFO] [stdout]    --> src/main.rs:196:53
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let window = video_subsystem.window("Tetris", 160, 224as)
[INFO] [stdout]     |                                                        ^^^^^ invalid suffix `as`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `as` for integer literal
[INFO] [stdout]    --> src/main.rs:196:53
[INFO] [stdout]     |
[INFO] [stdout] 196 |     let window = video_subsystem.window("Tetris", 160, 224as)
[INFO] [stdout]     |                                                        ^^^^^ invalid suffix `as`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`, found `input`
[INFO] [stdout]    --> src/main.rs:228:38
[INFO] [stdout]     |
[INFO] [stdout] 228 |         println!("Let the game begin! {}," input);
[INFO] [stdout]     |                                            ^^^^^ expected `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`, found `input`
[INFO] [stdout]    --> src/main.rs:228:38
[INFO] [stdout]     |
[INFO] [stdout] 228 |         println!("Let the game begin! {}," input);
[INFO] [stdout]     |                                            ^^^^^ expected `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
[INFO] [stdout]    --> src/main.rs:227:6
[INFO] [stdout]     |
[INFO] [stdout] 227 |     io::stdin::().read_line(&mut input).ok().expect("error: unable to read user input");
[INFO] [stdout]     |         ^^^^^^^^^ only `Fn` traits may use parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]   --> src/main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{thread, time};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Uniform`
[INFO] [stdout]   --> src/main.rs:14:51
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::distributions::{Distribution, Standard, Uniform};
[INFO] [stdout]    |                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0214]: parenthesized type parameters may only be used with a `Fn` trait
[INFO] [stdout]    --> src/main.rs:227:6
[INFO] [stdout]     |
[INFO] [stdout] 227 |     io::stdin::().read_line(&mut input).ok().expect("error: unable to read user input");
[INFO] [stdout]     |         ^^^^^^^^^ only `Fn` traits may use parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thread`
[INFO] [stdout]   --> src/main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::{thread, time};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Uniform`
[INFO] [stdout]   --> src/main.rs:14:51
[INFO] [stdout]    |
[INFO] [stdout] 14 | use rand::distributions::{Distribution, Standard, Uniform};
[INFO] [stdout]    |                                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_line` found for fn item `fn() -> Stdin {stdin}` in the current scope
[INFO] [stdout]    --> src/main.rs:227:16
[INFO] [stdout]     |
[INFO] [stdout] 227 |     io::stdin::().read_line(&mut input).ok().expect("error: unable to read user input");
[INFO] [stdout]     |                   ^^^^^^^^^ method not found in `fn() -> Stdin {stdin}`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `io::stdin::()` is a function, perhaps you wish to call it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `read_line` found for fn item `fn() -> Stdin {stdin}` in the current scope
[INFO] [stdout]    --> src/main.rs:227:16
[INFO] [stdout]     |
[INFO] [stdout] 227 |     io::stdin::().read_line(&mut input).ok().expect("error: unable to read user input");
[INFO] [stdout]     |                   ^^^^^^^^^ method not found in `fn() -> Stdin {stdin}`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `io::stdin::()` is a function, perhaps you wish to call it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:254:17
[INFO] [stdout]     |
[INFO] [stdout] 254 |                     map.remove(y);
[INFO] [stdout]     |                                ^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                expected `&{integer}`, found `i32`
[INFO] [stdout]     |                                help: consider borrowing here: `&y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:267:18
[INFO] [stdout]     |
[INFO] [stdout] 267 |                         map.remove(y);
[INFO] [stdout]     |                                    ^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected `&i32`, found `i32`
[INFO] [stdout]     |                                    help: consider borrowing here: `&y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:280:18
[INFO] [stdout]     |
[INFO] [stdout] 280 |                         map.remove(y);
[INFO] [stdout]     |                                    ^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected `&i32`, found `i32`
[INFO] [stdout]     |                                    help: consider borrowing here: `&y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::*;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:254:17
[INFO] [stdout]     |
[INFO] [stdout] 254 |                     map.remove(y);
[INFO] [stdout]     |                                ^
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                expected `&{integer}`, found `i32`
[INFO] [stdout]     |                                help: consider borrowing here: `&y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:267:18
[INFO] [stdout]     |
[INFO] [stdout] 267 |                         map.remove(y);
[INFO] [stdout]     |                                    ^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected `&i32`, found `i32`
[INFO] [stdout]     |                                    help: consider borrowing here: `&y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:280:18
[INFO] [stdout]     |
[INFO] [stdout] 280 |                         map.remove(y);
[INFO] [stdout]     |                                    ^
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected `&i32`, found `i32`
[INFO] [stdout]     |                                    help: consider borrowing here: `&y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::*;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0214, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0214`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0214, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0214`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tetris`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "9f4c9ab95af9ac3f1d3cb53e8f081e28329d4db5417f7f52e74cd1a58e1f62f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f4c9ab95af9ac3f1d3cb53e8f081e28329d4db5417f7f52e74cd1a58e1f62f5", kill_on_drop: false }`
[INFO] [stdout] 9f4c9ab95af9ac3f1d3cb53e8f081e28329d4db5417f7f52e74cd1a58e1f62f5
